package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Task;
import cn.wolfcode.crm.domain.TaskExecute;
import cn.wolfcode.crm.query.impl.AttendanceQuery;
import cn.wolfcode.crm.query.impl.TaskExecuteQuery;
import cn.wolfcode.crm.util.PageResult;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface ITaskExecuteService {

    PageResult query(TaskExecuteQuery qo);

    void saveOrUpdate(Task task,Long employeeId,Long tid);

    void updatestate(Long tid);

    void deleteByTid(Long tid);

    List<TaskExecute> selecteAll();

    void exportXls(HttpServletResponse response) throws IOException;
}
